import request from '@/utils/request'
// 通过
export function pass(data) {
  return request({
    url: '/system/callVoiceCheck/pass',
    method: 'post',
    data: data
  })
}


// 拒绝
export function refuse(data) {
  return request({
    url: '/system/callVoiceCheck/refuse',
    method: 'post',
    data: data
  })
}
// 查询通话录音检查列表
export function listCallVoiceCheck(query) {
  return request({
    url: '/system/callVoiceCheck/list',
    method: 'get',
    params: query
  })
}

// 查询通话录音检查详细
export function getCallVoiceCheck(id) {
  return request({
    url: '/system/callVoiceCheck/' + id,
    method: 'get'
  })
}

// 新增通话录音检查
export function addCallVoiceCheck(data) {
  return request({
    url: '/system/callVoiceCheck',
    method: 'post',
    data: data
  })
}

// 修改通话录音检查
export function updateCallVoiceCheck(data) {
  return request({
    url: '/system/callVoiceCheck',
    method: 'put',
    data: data
  })
}

// 删除通话录音检查
export function delCallVoiceCheck(id) {
  return request({
    url: '/system/callVoiceCheck/' + id,
    method: 'delete'
  })
}
